#include<stdio.h>
#include<arpa/inet.h>

int main(int argc, char const *argv[])
{
    unsigned int src = 0x12345678;

    unsigned int dest = htonl(src);

    printf("%#x -> %#x \n",src,dest);
    return 0;
}
